package rowingmanager.domain
class ImageData {
 private static final int HALF_MEG_IN_BYTES = (1024*1024*1)/2
    byte [] data  //binary data of image
    static constraints = {
      data(nullable:false,minSize:1,maxSize:HALF_MEG_IN_BYTES)
    }
    static belongsTo = Image
}
